package com.kangye.game.pojo;


import java.io.Serializable;

public class Task implements Serializable {

    private int id;            //id
    private String taskName;    //任务名
    private int taskType;      //任务类型
    private int taskPrice;     //价格
    private int taskStatus;    //接收状态
    private String taskTime;    //上传时间
    private String taskUser;    //上传人
    private String taskRequire; //人物介绍

    public Task() {
    }

    public Task(int id, String taskName, int taskType, int taskPrice, int taskStatus, String taskTime, String taskUser, String taskRequire) {
        this.id = id;
        this.taskName = taskName;
        this.taskType = taskType;
        this.taskPrice = taskPrice;
        this.taskStatus = taskStatus;
        this.taskTime = taskTime;
        this.taskUser = taskUser;
        this.taskRequire = taskRequire;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }


    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }


    public int getTaskPrice() {
        return taskPrice;
    }

    public void setTaskPrice(int taskPrice) {
        this.taskPrice = taskPrice;
    }


    public int getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(int taskStatus) {
        this.taskStatus = taskStatus;
    }


    public String getTaskTime() {
        return taskTime;
    }

    public void setTaskTime(String taskTime) {
        this.taskTime = taskTime;
    }


    public String getTaskUser() {
        return taskUser;
    }

    public void setTaskUser(String taskUser) {
        this.taskUser = taskUser;
    }


    public String getTaskRequire() {
        return taskRequire;
    }

    public void setTaskRequire(String taskRequire) {
        this.taskRequire = taskRequire;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", taskName='" + taskName + '\'' +
                ", taskType=" + taskType +
                ", taskPrice=" + taskPrice +
                ", taskStatus=" + taskStatus +
                ", taskTime='" + taskTime + '\'' +
                ", taskUser='" + taskUser + '\'' +
                ", taskRequire='" + taskRequire + '\'' +
                '}';
    }
}
